<dl class="img_container">
  <dt>
    <a href="/designs/<%= design_detail.id.to_s %>" rel="#overlay" style="text-decoration:none">
      <%= image_tag url_for_file_column(design_detail, "image_url","medium"),:class=>'hot_list_img',:title=>"点击放大" if design_detail.image_url %>
    </a>
  </dt>
</dl>
<dl class="rank_button_container">
  <dt class="detail_toolbar" >
    <a href="/store/for_him?<%="product[design]=#{design_detail.id}&product[design_cate]=#{design_detail.first_category_id}#{default_style_path(1)}"%>" class="link_img">
      <img src='/images/malebt.gif' title="制定男生" alt="制定男生" class="boy" />
    </a>
    <a href="/store/for_her?<%="product[design]=#{design_detail.id}&product[design_cate]=#{design_detail.first_category_id}#{default_style_path(0)}"%>" class="link_img">
      <img src='/images/famalebt.gif' title="制定女生" alt="制定女生"  class="girl" />
    </a>
  </dt>
  <dd class="detail_toolbar" >
    <span>编号 <%= design_detail.sn %></span><br />
    <span class="yen" ><%= design_detail.price %></span>
  </dd>
  <%  if editor? %>
    <dt class="toolbar" >
      <%= link_to "编辑", edit_design_path(design_detail),:title=>'编辑',:class=>"action_edit" %>
      <%= link_to "删除", design_detail, :confirm => 'Are you sure?', :method => :delete,:title=>'删除',:class=>"action_delete" %>
    </dt>
  <%end%>
</dl>